package com.jrx.anytxn.reporting.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户信息
 * @author xqy
 * @version 1.0
 * @date 2020/4/14
 */
public class MrCustomerInfoRes implements Serializable {
    /**
     * 表id
     * 表字段:id
     */
    private Long id;

    /**
     * 租户id
     * 表字段:tenant_id
     */
    private String tenantId;

    /**
     * 机构号
     * 表字段:organization_id
     */
    private String organizationId;

    /**
     * 渠道id
     * 表字段:channel
     */
    private String channel;

    /**
     * 客户编号
     * 表字段:customer_id
     */
    private String customerId;

    /**
     * 姓名
     * 表字段:chinese_name
     */
    private String chineseName;

    /**
     * 证件类型
     * 表字段:id_type
     */
    private String idType;

    /**
     * 证件号码
     * 表字段:id_number
     */
    private String idNumber;

    /**
     * 性别
     * 表字段:sex
     */
    private String sex;

    /**
     * 出生日期
     * 表字段:birth_date
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthDate;

    /**
     * 婚姻状况
     * 表字段:marriage
     */
    private String marriage;

    /**
     * 最高学历
     * 表字段:education
     */
    private String education;

    /**
     * 最高学位
     * 表字段:degree
     */
    private String degree;

    /**
     * 住宅电话
     * 表字段:home_phone
     */
    private String homePhone;

    /**
     * 手机号码
     * 表字段:mobile
     */
    private String mobile;

    /**
     * 单位电话
     * 表字段:company_phone
     */
    private String companyPhone;

    /**
     * 电子邮箱
     * 表字段:email
     */
    private String email;

    /**
     * 通讯地址
     * 表字段:address
     */
    private String address;

    /**
     * 通讯地址邮政编码
     * 表字段:zipcode
     */
    private String zipcode;

    /**
     * 户籍地址
     * 表字段:household_address
     */
    private String householdAddress;

    /**
     * 配偶姓名
     * 表字段:spouse_name
     */
    private String spouseName;

    /**
     * 配偶证件类型
     * 表字段:spouse_id_type
     */
    private String spouseIdType;

    /**
     * 配偶证件号码
     * 表字段:spouse_id_number
     */
    private String spouseIdNumber;

    /**
     * 配偶工作单位
     * 表字段:spouse_company_name
     */
    private String spouseCompanyName;

    /**
     * 配偶联系电话
     * 表字段:spouse_home_phone
     */
    private String spouseHomePhone;

    /**
     * 职业
     * 表字段:spouse_occuption
     */
    private String spouseOccuption;

    /**
     * 单位名称
     * 表字段:company_name
     */
    private String companyName;

    /**
     * 单位所属行业
     * 表字段:industry
     */
    private String industry;

    /**
     * 单位地址
     * 表字段:company_address
     */
    private String companyAddress;

    /**
     * 单位地址邮政编码
     * 表字段:company_zipcode
     */
    private String companyZipcode;

    /**
     * 本单位工作起始年份
     * 表字段:begin_year
     */
    private String beginYear;

    /**
     * 职务
     * 表字段:job
     */
    private String job;

    /**
     * 职称
     * 表字段:title
     */
    private String title;

    /**
     * 年收入
     * 表字段:annual_income
     */
    private BigDecimal annualIncome;

    /**
     * 工资帐号
     * 表字段:pay_account
     */
    private String payAccount;

    /**
     * 工资账户开户银行
     * 表字段:pay_bank
     */
    private String payBank;

    /**
     * 居住地址
     * 表字段:reside_address
     */
    private String resideAddress;

    /**
     * 居住地址邮政编码
     * 表字段:reside_zipcode
     */
    private String resideZipcode;

    /**
     * 居住状况
     * 表字段:reside_condition
     */
    private String resideCondition;

    /**
     * 客户类型 借款人，保证人
     * 表字段:cust_type
     */
    private String custType;

    /**
     * 创建时间
     * 表字段:create_time
     */
    private Date createTime;

    /**
     * 更新时间
     * 表字段:update_time
     */
    private Date updateTime;

    /**
     * 导入日期
     * 表字段:input_date
     */
    private Date inputDate;

    /**
     * 核心客户号
     * 表字段:ecif_id
     */
    private String ecifId;

    public String getEcifId() {
        return ecifId;
    }

    public void setEcifId(String ecifId) {
        this.ecifId = ecifId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getHomePhone() {
        return homePhone;
    }

    public void setHomePhone(String homePhone) {
        this.homePhone = homePhone;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCompanyPhone() {
        return companyPhone;
    }

    public void setCompanyPhone(String companyPhone) {
        this.companyPhone = companyPhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getHouseholdAddress() {
        return householdAddress;
    }

    public void setHouseholdAddress(String householdAddress) {
        this.householdAddress = householdAddress;
    }

    public String getSpouseName() {
        return spouseName;
    }

    public void setSpouseName(String spouseName) {
        this.spouseName = spouseName;
    }

    public String getSpouseIdType() {
        return spouseIdType;
    }

    public void setSpouseIdType(String spouseIdType) {
        this.spouseIdType = spouseIdType;
    }

    public String getSpouseIdNumber() {
        return spouseIdNumber;
    }

    public void setSpouseIdNumber(String spouseIdNumber) {
        this.spouseIdNumber = spouseIdNumber;
    }

    public String getSpouseCompanyName() {
        return spouseCompanyName;
    }

    public void setSpouseCompanyName(String spouseCompanyName) {
        this.spouseCompanyName = spouseCompanyName;
    }

    public String getSpouseHomePhone() {
        return spouseHomePhone;
    }

    public void setSpouseHomePhone(String spouseHomePhone) {
        this.spouseHomePhone = spouseHomePhone;
    }

    public String getSpouseOccuption() {
        return spouseOccuption;
    }

    public void setSpouseOccuption(String spouseOccuption) {
        this.spouseOccuption = spouseOccuption;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCompanyZipcode() {
        return companyZipcode;
    }

    public void setCompanyZipcode(String companyZipcode) {
        this.companyZipcode = companyZipcode;
    }

    public String getBeginYear() {
        return beginYear;
    }

    public void setBeginYear(String beginYear) {
        this.beginYear = beginYear;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getAnnualIncome() {
        return annualIncome;
    }

    public void setAnnualIncome(BigDecimal annualIncome) {
        this.annualIncome = annualIncome;
    }

    public String getPayAccount() {
        return payAccount;
    }

    public void setPayAccount(String payAccount) {
        this.payAccount = payAccount;
    }

    public String getPayBank() {
        return payBank;
    }

    public void setPayBank(String payBank) {
        this.payBank = payBank;
    }

    public String getResideAddress() {
        return resideAddress;
    }

    public void setResideAddress(String resideAddress) {
        this.resideAddress = resideAddress;
    }

    public String getResideZipcode() {
        return resideZipcode;
    }

    public void setResideZipcode(String resideZipcode) {
        this.resideZipcode = resideZipcode;
    }

    public String getResideCondition() {
        return resideCondition;
    }

    public void setResideCondition(String resideCondition) {
        this.resideCondition = resideCondition;
    }

    public String getCustType() {
        return custType;
    }

    public void setCustType(String custType) {
        this.custType = custType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getInputDate() {
        return inputDate;
    }

    public void setInputDate(Date inputDate) {
        this.inputDate = inputDate;
    }

    @Override
    public String toString() {
        return "MrCustomerInfoRes{" +
                "id=" + id +
                ", tenantId='" + tenantId + '\'' +
                ", organizationId='" + organizationId + '\'' +
                ", channel='" + channel + '\'' +
                ", customerId='" + customerId + '\'' +
                ", chineseName='" + chineseName + '\'' +
                ", idType='" + idType + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", sex='" + sex + '\'' +
                ", birthDate=" + birthDate +
                ", marriage='" + marriage + '\'' +
                ", education='" + education + '\'' +
                ", degree='" + degree + '\'' +
                ", homePhone='" + homePhone + '\'' +
                ", mobile='" + mobile + '\'' +
                ", companyPhone='" + companyPhone + '\'' +
                ", email='" + email + '\'' +
                ", address='" + address + '\'' +
                ", zipcode='" + zipcode + '\'' +
                ", householdAddress='" + householdAddress + '\'' +
                ", spouseName='" + spouseName + '\'' +
                ", spouseIdType='" + spouseIdType + '\'' +
                ", spouseIdNumber='" + spouseIdNumber + '\'' +
                ", spouseCompanyName='" + spouseCompanyName + '\'' +
                ", spouseHomePhone='" + spouseHomePhone + '\'' +
                ", spouseOccuption='" + spouseOccuption + '\'' +
                ", companyName='" + companyName + '\'' +
                ", industry='" + industry + '\'' +
                ", companyAddress='" + companyAddress + '\'' +
                ", companyZipcode='" + companyZipcode + '\'' +
                ", beginYear='" + beginYear + '\'' +
                ", job='" + job + '\'' +
                ", title='" + title + '\'' +
                ", annualIncome=" + annualIncome +
                ", payAccount='" + payAccount + '\'' +
                ", payBank='" + payBank + '\'' +
                ", resideAddress='" + resideAddress + '\'' +
                ", resideZipcode='" + resideZipcode + '\'' +
                ", resideCondition='" + resideCondition + '\'' +
                ", custType='" + custType + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", inputDate=" + inputDate +
                '}';
    }
}